package com.etl.es.charts.base;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

public class ChartParam extends AggregationCondition implements Serializable {

    private static final long serialVersionUID = -753460167354503182L;

    /**
     * 时间范围字段
     */
    public static final String DATETIME_FIELD_ORDER = "orderDateTime";
    public static final String DATETIME_FIELD_GOODS = DATETIME_FIELD_ORDER;
    public static final String DATETIME_FIELD_FILM_TICKET = "sessionDateTime";

    private String tenantCode;
    private String tenantName;
    private String cinemaCode;
    private String cinemaName;
    private String channelTypeCode;
    private String channelTypeName;
    private String channelCode;
    private String channelName;

    private String datetimeField;
    @NotBlank(message = "开始时间不能为空")
    private String datetimeStart;
    @NotBlank(message = "结束时间不能为空")
    private String datetimeEnd;

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public String getTenantName() {
        return tenantName;
    }

    public void setTenantName(String tenantName) {
        this.tenantName = tenantName;
    }

    public String getCinemaCode() {
        return cinemaCode;
    }

    public void setCinemaCode(String cinemaCode) {
        this.cinemaCode = cinemaCode;
    }

    public String getCinemaName() {
        return cinemaName;
    }

    public void setCinemaName(String cinemaName) {
        this.cinemaName = cinemaName;
    }

    public String getChannelTypeCode() {
        return channelTypeCode;
    }

    public void setChannelTypeCode(String channelTypeCode) {
        this.channelTypeCode = channelTypeCode;
    }

    public String getChannelTypeName() {
        return channelTypeName;
    }

    public void setChannelTypeName(String channelTypeName) {
        this.channelTypeName = channelTypeName;
    }

    public String getChannelCode() {
        return channelCode;
    }

    public void setChannelCode(String channelCode) {
        this.channelCode = channelCode;
    }

    public String getChannelName() {
        return channelName;
    }

    public void setChannelName(String channelName) {
        this.channelName = channelName;
    }

    public String getDatetimeField() {
        return datetimeField;
    }

    public void setDatetimeField(String datetimeField) {
        this.datetimeField = datetimeField;
    }

    public String getDatetimeStart() {
        return datetimeStart;
    }

    public void setDatetimeStart(String datetimeStart) {
        this.datetimeStart = datetimeStart;
    }

    public String getDatetimeEnd() {
        return datetimeEnd;
    }

    public void setDatetimeEnd(String datetimeEnd) {
        this.datetimeEnd = datetimeEnd;
    }
}
